<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--

Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Name       : News Flash
Description: A very light design suitable for community sites and blogs.
Version    : 1.0
Released   : 20071112

-->
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<title>{% block title %} {{ config.plog_title|escape }} {% endblock %}</title>
		<meta name="generator" content="plog on GAE" />
		{% block description %}<meta name="description" content="{{ config.site_description }}" />{% endblock %}
		{% block keywords %}<meta name="keywords" content="{{ config.site_keywords }}" />{% endblock %}
		<link rel="icon" type="image/ico" href="/favicon.ico">
		{% block style %}<link rel="stylesheet" type="text/css" href="{{ theme.dir }}/style.css" media="screen" />{% endblock %}
		<script type="text/javascript" src="/scripts/jquery.js"></script>
		<script type="text/javascript" src="/scripts/plog.js"></script>
		<script type="text/javascript" src="/scripts/thickbox.js"></script>
		<script type="text/javascript">
			<!--
			var app_root = "{{ settings.app_root }}";
			//-->
		</script>
		{% block scripts %}
		{% endblock %}
	</head>
<body>
<!-- start header -->
<div id="header">
	<div id="menu">
		{% block menu %}
		{% include theme.menu_part %}
		{% endblock %}
	</div>
	<div id="login">
					{% if self.is_login %}
					{{ self.user }} | <a href="{{ settings.app_root }}/logout">Logout</a>
					{% else %}
					<a href="{{ settings.app_root }}/login">Login</a>
					{% endif %}
	</div>
</div>

<div id="logo">
	{% block header %}
		{% include theme.header_part %}
	{% endblock %}

	
	</div>
<!-- end header -->
<hr />
<!-- start page -->
<div id="page">
	<!-- start content -->
	<div id="content">
					{% block content %}
					{% endblock %}
				</div>
	<!-- end content -->
	<!-- start sidebar one -->
	<div id="sidebar1" class="sidebar">
					<ul>
						{% block sidebar1 %}
						{{ self.widget.renderpart_sidebar1 }}
						{% endblock %}
					</ul>
				</div>
	<!-- end sidebar one -->
	<!-- start sidebar two -->
	<div id="sidebar2" class="sidebar">
					<ul>
						{% block sidebar2 %}
						{{ self.widget.renderpart_sidebar2 }}
						{% endblock %}
					</ul>
				</div>
	<!-- end sidebar two -->
	<div style="clear: both;">&nbsp;</div>
</div>
<!-- end page -->
<hr />

<!-- start footer -->

<div id="footerbar">
				{{ self.widget.renderpart_footer }}
			</div>
			
<div id="footer">
	{% block footer %}
				{% include theme.footer_part %}
				{% endblock %}
</div>
<!-- end footer -->

</body>
</html>
